package com.lin.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lin.common.utils.PageUtils;
import com.lin.gulimall.product.entity.SpuInfoDescEntity;
import com.lin.gulimall.product.entity.SpuInfoEntity;
import com.lin.gulimall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author lin
 * @email lin@gmail.com
 * @date 2021-10-10 19:23:30
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSupInfo(SpuSaveVo vo);

    void saveBaseSpuInfo(SpuInfoEntity infoEntity);


    PageUtils queryPageBycondition(Map<String, Object> params);

    /*
    * 商品上架功能
    */
    void up(Long spuId);
}

